<?php
class HomeworkinfoModel extends Model {
	 protected $_validate = array(
        array('head','require','标题不能为空！'),
    );
	protected $_auto = array(
		array('create_time', 'time', self::MODEL_INSERT, 'function'),
	);
}
?>